package gametest1;

import java.util.Scanner;
public class 减肥计划switch版 {
    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        System.out.println("请输入星期数");
        int num = sc.nextInt();
        switch(num){
            case 1:
                System.out.println("活动1");
                break;
            case 2:
                System.out.println("活动3");
                break;
            case 3:
                System.out.println("活动4");
                break;
            case 4:
                System.out.println("活动5");
                break;
            case 5:
                System.out.println("活动6");
                break;
            case 6:
                System.out.println("活动7");
                break;
            case 7:
                System.out.println("活动8");
                break;
            default:
                System.out.println("您输入的有误");

        }
    }
}
